package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员收货地址对象 sys_user_address
 * 
 * @author rey
 * @date 2022-10-25
 */
public class SysUserAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 省ID */
    @Excel(name = "省ID")
    private Long provinces;

    /** 市ID */
    @Excel(name = "市ID")
    private Long city;

    /** 区ID */
    @Excel(name = "区ID")
    private Long area;

    /** 地址别名 */
    @Excel(name = "地址别名")
    private String addressName;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String addressDetails;

    /** 默认地址 */
    @Excel(name = "默认地址")
    private String isDefault;

    /** 邮编 */
    @Excel(name = "邮编")
    private String zipCode;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realname;

    /** 家庭号码 */
    @Excel(name = "家庭号码")
    private String homePhone;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String mobile;

    /** 删除标记 */
    private String delFlag;

    /** 邮箱地址 */
    @Excel(name = "邮箱地址")
    private String email;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setProvinces(Long provinces) 
    {
        this.provinces = provinces;
    }

    public Long getProvinces() 
    {
        return provinces;
    }
    public void setCity(Long city) 
    {
        this.city = city;
    }

    public Long getCity() 
    {
        return city;
    }
    public void setArea(Long area) 
    {
        this.area = area;
    }

    public Long getArea() 
    {
        return area;
    }
    public void setAddressName(String addressName) 
    {
        this.addressName = addressName;
    }

    public String getAddressName() 
    {
        return addressName;
    }
    public void setAddressDetails(String addressDetails) 
    {
        this.addressDetails = addressDetails;
    }

    public String getAddressDetails() 
    {
        return addressDetails;
    }
    public void setIsDefault(String isDefault) 
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault() 
    {
        return isDefault;
    }
    public void setZipCode(String zipCode) 
    {
        this.zipCode = zipCode;
    }

    public String getZipCode() 
    {
        return zipCode;
    }
    public void setRealname(String realname) 
    {
        this.realname = realname;
    }

    public String getRealname() 
    {
        return realname;
    }
    public void setHomePhone(String homePhone) 
    {
        this.homePhone = homePhone;
    }

    public String getHomePhone() 
    {
        return homePhone;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("provinces", getProvinces())
            .append("city", getCity())
            .append("area", getArea())
            .append("addressName", getAddressName())
            .append("addressDetails", getAddressDetails())
            .append("isDefault", getIsDefault())
            .append("zipCode", getZipCode())
            .append("realname", getRealname())
            .append("homePhone", getHomePhone())
            .append("mobile", getMobile())
            .append("delFlag", getDelFlag())
            .append("email", getEmail())
            .toString();
    }
}
